@layout("/backend/common/_container.html"){
    <#Layout>
        <#Layout_Left title='字典类型' width="600px">
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="dhcc-con dhcc-con-boder">
                        <div class="dhcc-con-left">
                            <#SelectCon id="productId" name="产品线" url="/cdc/cdcproduct/query/${productCode}" key="id" text="description" />
                            <#SearchBox id="descriptionDicType" name="描述" onEnter="Dictype.search"/>
                        </div>
                    </div>
                    <div class="hidden-xs" id="DictypeTableToolbar" role="group">
                        @if(shiro.hasPermission("dictype:add")){
                        <#Button name="新增" icon="icon-add" plain="true" clickFun="Dictype.add()" />
                        @}
                        @if(shiro.hasPermission("dictype:update")){
                        <#Button name="修改" icon="icon-write-order" plain="true" clickFun="Dictype.edit()" />
                        @}
                        @if(shiro.hasPermission("dictype:delete")){
                        <#Button name="删除" icon="icon-cancel" plain="true" clickFun="Dictype.del()" />
                        @}
                    </div>
                    <#Table id="DictypeTable" />
                </div>
            </div>
        </#Layout_Left>
        <#Layout_Center title='字典管理'>
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="dhcc-con dhcc-con-boder">
                        <div class="dhcc-con-left">
                            <#InputCon id="description" name="描述" />
                        </div>
                        <div class="dhcc-con-right">
                            <#Button name="查询" icon="icon-w-find" clickFun="Dictionary.search()" />
                        </div>
                    </div>
                    <div class="hidden-xs" id="DictionaryTableToolbar" role="group">
                        @if(shiro.hasPermission("dictionary:add")){
                        <#Button name="新增" icon="icon-add" plain="true" clickFun="Dictionary.add()" />
                        @}
                    </div>
                    <#Table id="DictionaryTable" />
                </div>
            </div>
        </#Layout_Center>
    </#Layout>
    
    
    <script src="${ctxPath}/static/backend/cdc/dictype/dictype.js"></script>
    <script src="${ctxPath}/static/backend/cdc/dictionary/dictionary.js"></script>
    @}